module.exports = {
    lintOnSave: false,
    devServer: {
        proxy: {
            '/ws': {
                target: 'ws://172.16.10.146:4001',
                // target: 'ws://10.10.31.128:4001',
                ws: true,
                changeOrigin: true
            },
            '/screen': {
                target: 'http://172.16.10.146:3001',
                changeOrigin: true,
                // pathRewrite:{'^':''}
            }
        }
    },
    chainWebpack(config) {
        config.devtool('cheap-module-eval-source-map')
    }
}